Carbon


WindowPaintProcPtr

Header: MacWindows.h Carbon status: Under Evaluation

typedef OSStatus(* WindowPaintProcPtr) (
    GDHandle device, 
    GrafPtr qdContext, 
    WindowRef window, 
    RgnHandle inClientPaintRgn, 
    RgnHandle outSystemPaintRgn, 
    void *refCon
);

You would declare your function like this if you were to name it MyWindowPaintCallback:

OSStatus MyWindowPaintCallback (
    GDHandle device, 
    GrafPtr qdContext, 
    WindowRef window, 
    RgnHandle inClientPaintRgn, 
    RgnHandle outSystemPaintRgn, 
    void *refCon
);
function result

A result code.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)